//@import "~antd/dist/antd.less"; // antd css 全部引入，会对出550KB大小。。。
//@icon-url: "/static/iconfont/iconfont"; // 把 iconfont 地址改到本地
body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  // height: 1534px;
  // margin-top: 90px;
}

body {
  background-color: #fff;
}

#root {
  height: 100%;
  .am-list-body {
    border-top: none;
    &::after {
      border-bottom: none;
    }
    div:not(:last-child) .am-list-line::after {
      border-bottom: 1px solid #dadada;
    }
  }
}

input {
  height: 80px;
  line-height: 80px;
  opacity: 1;
}
textarea {
  opacity: 1;
}

.am-toast {
  .am-toast-notice-content {
    .am-toast-text {
      // padding: 0;
    }
    img {
      width: 100px;
      // width: 100%;
    }
  }
}

.am-navbar-title {
  color: #333 !important;
  font-size: 36px;
}

.am-navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  border-bottom: 1px solid #d8d8d8;
}
.am-navbar.am-navbar-light .am-navbar-title {
  color: #666;
  font-size: 36px;
}
.am-navbar .am-icon-left {
  width: 56px !important;
  height: 56px !important;
  color: #333 !important;
}

.hairlines div {
  border-width: 0.5px !important;
}
.hairlines div::after {
  border-width: 0.5px !important;
}
.am-popover {
  background: white;
}

.am-navbar {
  .am-navbar-title {
    display: block;
    flex: 4;
    overflow: hidden;
    line-height: 90px;
    text-align: center;
    text-overflow: ellipsis;
  }
}

// mp-btn mp-btn--noborder mp-btn--lg

.mp-btn {
  color: #333;
  font-weight: 400;
  font-size: 30px;
  font-family: PingFangSC, PingFangSC-Regular;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.mp-btn--sm {
  font-size: 30px;
}

.mp-btn--lg {
  font-size: 34px;
}

.mp-btn--noborder {
  border: none;
}

.mp-btn--primary {
  color: #1677ff;
}

.mp-tag {
  height: 48px;
  padding: 0 17px;
  color: #ed7f39;
  font-weight: 400;
  font-size: 26px;
  font-family: PingFangSC, PingFangSC-Regular;
  line-height: 48px;
  text-align: center;
  background: #fff;
  border: 2px solid #ed7f39;
  border-radius: 10px;
}

.mp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 210px;
  color: #333;
  font-weight: 400;
  font-size: 24px;
  font-family: PingFangSC, PingFangSC-Regular;
  text-align: center;

  img {
    width: 200px;
    height: 200px;
  }
}

.required-icon {
  position: absolute;
  left: -18px;
  color: red;
}

.am-list .am-list-item .am-list-line {
  overflow: visible;
}

.forzen {
  height: 100%;
  overflow: hidden;
}

.am-button {
  &.am-button-active {
    background-color: transparent !important;
  }
}

.am-modal-button {
  &.am-modal-button-active {
    background-color: transparent !important;
  }
}

.mp-modal-confirm {
  width: 560px;
  border-radius: 8px;
  .am-modal-content {
    padding-top: 50px;
    .am-modal-body {
      padding: 0;
    }
  }
}

.mp-footer-btns {
  display: flex;
  width: 100%;
  font-weight: 400;
  font-family: PingFangSC, PingFangSC-Regular;
  border-top: 1px solid #e5e5e5;
  .mp-footer-btns_btn {
    box-sizing: border-box;
    width: 50%;
    height: 100px;
    color: #333;
    font-size: 36px;
    line-height: 100px;
    text-align: center;
    border-radius: 0;
  }

  .mp-footer-btns_btn--left {
    color: #999;
    border-right: 1px solid #e5e5e5;
  }
}

.mp-modal {
  width: 560px;
  font-weight: 400;
  font-family: PingFangSC, PingFangSC-Regular;

  .am-modal-content {
    padding-top: 60px;

    .am-modal-body {
      padding: 0 24px 60px;
    }
    .am-modal-button {
      color: #333;
      font-size: 36px;
    }
  }

  &.mp-modal--confirm {
    .am-modal-content {
      .am-modal-button:first-child {
        color: #999;
      }
    }
  }
}

.mp-modal__title {
  color: #333;
  font-size: 30px;
  text-align: center;
}
